package edu.sctu.practice.class01.zhoumengxue.test.test08;

/**
 * Created by ASUS on 2015/10/12.
 */
public class Car extends Vehicles {

    public int seats;

    public Car(String brand, String color, int seats) {
        super(brand, color);
        this.seats = seats;
    }

    public void showCar() {
        System.out.println("小汽车商标：" + brand + "  小汽车颜色：" + color + "  小汽车座位：" + seats);
    }

}
